﻿using Microsoft.EntityFrameworkCore;
using Traceability.Domain;

namespace Traceability.Infrerture
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {}

        /// <summary>
        /// 溯源管理基本信息
        /// </summary>
        public DbSet<Traceability_Management> Traceability_Managements { get; set; }

        /// <summary>
        /// 商品表
        /// </summary>
        public DbSet<Shop_Model> Shop_Models { get; set; }

        /// <summary>
        /// 养殖信息表
        /// </summary>
        public DbSet<Breeding_Information> Breeding_Information { get; set; }

        /// <summary>
        /// 养殖企业信息表
        /// </summary>
        public DbSet<Enterprise_Model> Enterprise_Models { get; set; }

        /// <summary>
        /// 图片信息表
        /// </summary>
        public DbSet<Photo_Model> Photo_Models { get; set; }

        /// <summary>
        /// 屠宰信息表
        /// </summary>
        public DbSet<Butcher_Model> Butcher_Models { get; set; }

        /// <summary>
        /// 屠宰企业信息表
        /// </summary>
        public DbSet<Company_Model> Company_Models { get; set; }

        /// <summary>
        /// 保健信息表
        /// </summary>
        public DbSet<Health_Model> Health_Models { get; set; }

        /// <summary>
        /// 深加工信息表
        /// </summary>
        public DbSet<Deep_Model> Deep_Models { get; set; }

        /// <summary>
        /// 深加工企业表
        /// </summary>
        public DbSet<DeepCompany_Model> DeepCompany_Model { get; set; }

        
     

       

       


    }
}
